<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPHINXsys/src/shared/bodies/base_body.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3dc1dabd28ba78e072d14d3fcfc90454.html">SPHINXsys</a></li><li class="navelem"><a class="el" href="dir_48ea983704c43b6d88c1fa3f4d09e369.html">src</a></li><li class="navelem"><a class="el" href="dir_0a0d9ef1793521534f0094f317758287.html">shared</a></li><li class="navelem"><a class="el" href="dir_f564752dc24125918d43f2c144546267.html">bodies</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">base_body.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="base__body_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -------------------------------------------------------------------------*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">*                               SPHinXsys                                   *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">* --------------------------------------------------------------------------*</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">* SPHinXsys (pronunciation: s&#39;finksis) is an acronym from Smoothed Particle *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">* Hydrodynamics for industrial compleX systems. It provides C++ APIs for    *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">* physical accurate simulation and aims to model coupled industrial dynamic *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">* systems including fluid, solid, multi-body dynamics and beyond with SPH   *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">* (smoothed particle hydrodynamics), a meshless computational method using  *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">* particle discretization.                                                  *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">* SPHinXsys is partially funded by German Research Foundation               *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">* (Deutsche Forschungsgemeinschaft) DFG HU1527/6-1, HU1527/10-1             *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">* and HU1527/12-1.                                                          *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">* Portions copyright (c) 2017-2020 Technical University of Munich and       *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">* the authors&#39; affiliations.                                                *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">* Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may   *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">* not use this file except in compliance with the License. You may obtain a *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">* copy of the License at http://www.apache.org/licenses/LICENSE-2.0.        *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">* --------------------------------------------------------------------------*/</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;base_data_package.h&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sph__data__conainers_8h.html">sph_data_conainers.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="neighbor__relation_8h.html">neighbor_relation.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;geometry.h&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_p_h.html">SPH</a> </div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keyword">class </span>SPHSystem;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keyword">class </span>BaseParticles;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keyword">class </span>Kernel;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keyword">class </span>BaseMeshCellLinkedList;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keyword">class </span>SPHBodyBaseRelation;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_particles_generator_ops.html">   56</a></span>&#160;    <span class="keyword">class </span>BaseLevelSet;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keyword">enum class</span> <a class="code" href="class_particles_generator_ops.html">ParticlesGeneratorOps</a> {lattice, direct, regularized};</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html">   73</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    {</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#acafe8d506e0bfd7c74143cd9ed1401b7">   76</a></span>&#160;        <a class="code" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;<a class="code" href="class_s_p_h_1_1_s_p_h_body.html#acafe8d506e0bfd7c74143cd9ed1401b7">sph_system_</a>;     </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a90b19fb964661d302ed08652dfb9d4c2">   77</a></span>&#160;        <span class="keywordtype">string</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a90b19fb964661d302ed08652dfb9d4c2">body_name_</a>;      </div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a6a52151b399284b6657585619d71db0d">   78</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a6a52151b399284b6657585619d71db0d">newly_updated_</a>;        </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#aa4dcce0a73ba89a2fd9a95ca68216ca6">   80</a></span>&#160;        <a class="code" href="class_s_p_h_1_1_complex_shape.html">ComplexShape</a>  <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#aa4dcce0a73ba89a2fd9a95ca68216ca6">body_shape_</a>;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a475cbb5268106b74e76d71fe5f41a28c">   82</a></span>&#160;        Real <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a475cbb5268106b74e76d71fe5f41a28c">smoothing_length_</a>;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#acc4e254e90d072edb26e90007f806215">   84</a></span>&#160;        Vecd <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#acc4e254e90d072edb26e90007f806215">body_lower_bound_</a>, body_upper_bound_;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a981e4ab5e8b6dc54813fbf8f38bb2ff3">   86</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a981e4ab5e8b6dc54813fbf8f38bb2ff3">prescribed_body_bounds_</a>;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        Real RefinementLevelToParticleSpacing();</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <a class="code" href="class_s_p_h_1_1_kernel.html">Kernel</a>* GenerateAKernel(Real smoothing_length);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keywordtype">void</span> ReplaceKernelFunction(<a class="code" href="class_s_p_h_1_1_kernel.html">Kernel</a>* kernel);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a0a625a4fc0b800a2211ccc3e5f239274">   95</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a0a625a4fc0b800a2211ccc3e5f239274">refinement_level_</a>;  </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#adcea67d3103c632fd96fbea014b69cbf">   96</a></span>&#160;        <a class="code" href="class_s_p_h_1_1_kernel.html">Kernel</a>* <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#adcea67d3103c632fd96fbea014b69cbf">kernel_</a>;        </div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a1693824e4663ab1d42d2c89f167de7f1">   97</a></span>&#160;        Real <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a1693824e4663ab1d42d2c89f167de7f1">particle_spacing_</a>;                     </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#aab6ade081b3bf9a260dda2d980b5a98f">   98</a></span>&#160;        <span class="keywordtype">size_t</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#aab6ade081b3bf9a260dda2d980b5a98f">number_of_particles_</a>;                </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#adc8f9cc70f735cfe72e3c5571fdd2201">   99</a></span>&#160;        <a class="code" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a>* <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#adc8f9cc70f735cfe72e3c5571fdd2201">base_particles_</a>;             </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a2eaf64eec0d93e8af4ba68fb8a4f3393">  100</a></span>&#160;        <a class="code" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">BaseMeshCellLinkedList</a>* <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a2eaf64eec0d93e8af4ba68fb8a4f3393">base_mesh_cell_linked_list_</a>; </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a07225063a8732945f536841f71253019">  101</a></span>&#160;        <a class="code" href="class_particles_generator_ops.html">ParticlesGeneratorOps</a> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a07225063a8732945f536841f71253019">particle_generator_op_</a>;   </div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#ae8db0d4887412e2336930f4f63d7a7e2">  102</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#aae0891ff7d5c75f9bf4333e5e0e0fe98">PositionsAndVolumes</a> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#ae8db0d4887412e2336930f4f63d7a7e2">body_input_points_volumes_</a>; </div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#a306c400ad9b4039df27758dd1560a55b">  103</a></span>&#160;        <a class="code" href="class_s_p_h_1_1_base_level_set.html">BaseLevelSet</a>* <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#a306c400ad9b4039df27758dd1560a55b">levelset_mesh_</a>;                   </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#adda7b1f83a13057cc2526315ba7b87cb">  110</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#adda7b1f83a13057cc2526315ba7b87cb">split_cell_lists_</a>;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#add47d67ae81be7a97ece4bcb2fd573a1">  113</a></span>&#160;        StdVec&lt;SPHBodyBaseRelation*&gt; <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#add47d67ae81be7a97ece4bcb2fd573a1">body_relations_</a>;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;sph_system, <span class="keywordtype">string</span> body_name, </div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            <span class="keywordtype">int</span> refinement_level, Real smoothing_length_ratio, <a class="code" href="class_particles_generator_ops.html">ParticlesGeneratorOps</a> op);</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>() {};</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        <span class="keywordtype">string</span> GetBodyName();</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keywordtype">void</span> setNewlyUpdated() { newly_updated_ = <span class="keyword">true</span>; };</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <span class="keywordtype">bool</span> checkNewlyUpdated() { <span class="keywordflow">return</span> newly_updated_; };</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordtype">void</span> setNotNewlyUpdated() { newly_updated_ = <span class="keyword">false</span>; };</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_s_p_h_body.html#ac17b16899b86299f2437d2e38a9ba25e">  134</a></span>&#160;        <a class="code" href="class_s_p_h_1_1_complex_shape.html">ComplexShape</a>&amp; <a class="code" href="class_s_p_h_1_1_s_p_h_body.html#ac17b16899b86299f2437d2e38a9ba25e">getBodyShape</a>() { <span class="keywordflow">return</span> body_shape_; };</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keywordtype">void</span> setBodyLowerBound(Vecd lower_bound) { body_lower_bound_ = lower_bound; };</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <span class="keywordtype">void</span> setBodyUpperBound(<a class="code" href="class_vecd.html">Vecd</a> upper_bound) { body_upper_bound_ = upper_bound; };</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <a class="code" href="class_vecd.html">Vecd</a> getBodyLowerBound() { <span class="keywordflow">return</span> body_lower_bound_; };</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        <a class="code" href="class_vecd.html">Vecd</a> getBodyUpperBound() { <span class="keywordflow">return</span> body_upper_bound_; };</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="keywordtype">void</span> getSPHSystemBound(<a class="code" href="class_vecd.html">Vecd</a>&amp; system_lower_bound, <a class="code" href="class_vecd.html">Vecd</a>&amp; system_uppwer_bound);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> addLevelsetMesh(<a class="code" href="class_real.html">Real</a> mesh_size_ratio = 4.0);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> AllocateMemoryCellLinkedList() = 0;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateCellLinkedList() = 0;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordtype">void</span> AllocateConfigurationMemoriesForBodyBuffer();</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keywordtype">bool</span> checkBodyShapeContain(<a class="code" href="class_vecd.html">Vecd</a> pnt); </div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <a class="code" href="class_vecd.html">Vecd</a> ClosestPointOnBodySurface(<a class="code" href="class_vecd.html">Vecd</a> input_pnt);</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <span class="keywordtype">void</span> findBodyShapeBounds(<a class="code" href="class_vecd.html">Vecd</a> &amp;lower_bound, <a class="code" href="class_vecd.html">Vecd</a> &amp;upper_bound);</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> WriteParticlesToVtuFile(ofstream &amp;output_file);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> WriteParticlesToPltFile(ofstream &amp;output_file);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> WriteParticlesToXmlForRestart(std::string &amp;filefullpath);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> ReadParticlesFromXmlForRestart(std::string &amp;filefullpath);</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> WriteToXmlForReloadParticle(std::string &amp;filefullpath);</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> ReadFromXmlForReloadParticle(std::string &amp;filefullpath);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        </div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keyword">virtual</span> SPHBody* PointToThisObject();</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    };</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_real_body.html">  186</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a></div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    {</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;sph_system, <span class="keywordtype">string</span> body_name, </div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;            <span class="keywordtype">int</span> refinement_level, Real smoothing_length_ratio, <a class="code" href="class_particles_generator_ops.html">ParticlesGeneratorOps</a> op);</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a>() {};</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> AllocateMemoryCellLinkedList() <span class="keyword">override</span>;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateCellLinkedList() <span class="keyword">override</span>;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a>* PointToThisObject() <span class="keyword">override</span>;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    };</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_fictitious_body.html">  209</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_fictitious_body.html">FictitiousBody</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    {</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <a class="code" href="class_s_p_h_1_1_fictitious_body.html">FictitiousBody</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_system.html">SPHSystem</a> &amp;system, <span class="keywordtype">string</span> body_name, </div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;            <span class="keywordtype">int</span> refinement_level, Real smoothing_length_ratio, <a class="code" href="class_particles_generator_ops.html">ParticlesGeneratorOps</a> op);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_fictitious_body.html">FictitiousBody</a>() {};</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> AllocateMemoryCellLinkedList() <span class="keyword">override</span>;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateCellLinkedList() <span class="keyword">override</span>;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_s_p_h_1_1_fictitious_body.html">FictitiousBody</a>* PointToThisObject() <span class="keyword">override</span>;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    };</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_part.html">  231</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_body_part.html">BodyPart</a></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    {</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        <a class="code" href="class_s_p_h_1_1_body_part.html">BodyPart</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *body, <span class="keywordtype">string</span> body_part_name)</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            : body_(body), body_part_name_(body_part_name),</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;            body_part_shape_(body_part_name) {};</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_body_part.html">BodyPart</a>() {};</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <a class="code" href="class_s_p_h_1_1_complex_shape.html">ComplexShape</a>&amp; getBodyPartShape() { <span class="keywordflow">return</span> body_part_shape_; };</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* getBody() { <span class="keywordflow">return</span> body_; };</div><div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_part.html#ae2a3bda407f1882ee8158de98f1b203a">  246</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_body_part.html#ae2a3bda407f1882ee8158de98f1b203a">BodyPartBounds</a>(Vecd &amp;lower_bound, Vecd &amp;upper_bound)</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        {</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            body_part_shape_.findBounds(lower_bound, upper_bound);</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        };</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        <a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* body_;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        <span class="keywordtype">string</span> body_part_name_;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        <a class="code" href="class_s_p_h_1_1_complex_shape.html">ComplexShape</a> body_part_shape_;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> TagBodyPart() = 0;</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    };</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_part_by_particle.html">  263</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_body_part.html">BodyPart</a></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    {</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_part_by_particle.html#a2da1d85be2fb9a62d595d1293f2fa74f">  267</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#abae56fd7f25f13487c7943ce4681d0ce">IndexVector</a> <a class="code" href="class_s_p_h_1_1_body_part_by_particle.html#a2da1d85be2fb9a62d595d1293f2fa74f">body_part_particles_</a>;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        <a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* body, <span class="keywordtype">string</span> body_part_name)</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;            : <a class="code" href="class_s_p_h_1_1_body_part.html">BodyPart</a>(body, body_part_name) {};</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a>() {};</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        <span class="keywordtype">void</span> tagAParticle(<span class="keywordtype">size_t</span> particle_index);</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> TagBodyPart() <span class="keyword">override</span>;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    };</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_surface.html">  284</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_body_surface.html">BodySurface</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a></div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    {</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <a class="code" href="class_s_p_h_1_1_body_surface.html">BodySurface</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* body);</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        <span class="keyword">virtual</span>~<a class="code" href="class_s_p_h_1_1_body_surface.html">BodySurface</a>() {};</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> TagBodyPart() <span class="keyword">override</span>;</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    };</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_surface_layer.html">  299</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_body_surface_layer.html">BodySurfaceLayer</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;    {</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        <a class="code" href="class_s_p_h_1_1_body_surface_layer.html">BodySurfaceLayer</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* body, Real layer_thickness = 3.0);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <span class="keyword">virtual</span>~<a class="code" href="class_s_p_h_1_1_body_surface_layer.html">BodySurfaceLayer</a>() {};</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        Real layer_thickness_;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> TagBodyPart() <span class="keyword">override</span>;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    };</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div><div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_part_by_cell.html">  316</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_body_part.html">BodyPart</a></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    {</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_body_part_by_cell.html#a4d05ac7eea923c9f08f7a6ebdfcdc1f8">  320</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> <a class="code" href="class_s_p_h_1_1_body_part_by_cell.html#a4d05ac7eea923c9f08f7a6ebdfcdc1f8">body_part_cells_</a>;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        <a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *body, <span class="keywordtype">string</span> body_part_name)</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;            : <a class="code" href="class_s_p_h_1_1_body_part.html">BodyPart</a>(body, body_part_name) {};</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a>() {};</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> TagBodyPart() <span class="keyword">override</span>;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    };</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_near_body_surface.html">  335</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_near_body_surface.html">NearBodySurface</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a></div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    {</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        <a class="code" href="class_s_p_h_1_1_near_body_surface.html">NearBodySurface</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* body);</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_near_body_surface.html">NearBodySurface</a>() {};</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> TagBodyPart() <span class="keyword">override</span>;</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    };</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_solid_body_part_for_simbody.html">  351</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_solid_body_part_for_simbody.html">SolidBodyPartForSimbody</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a></div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    {</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;        Vec3d initial_mass_center_;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        SimTK::MassProperties* body_part_mass_properties_;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;        </div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        <a class="code" href="class_s_p_h_1_1_solid_body_part_for_simbody.html">SolidBodyPartForSimbody</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* body, <span class="keywordtype">string</span> solid_body_part_name);</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        <span class="keyword">virtual</span>~<a class="code" href="class_s_p_h_1_1_solid_body_part_for_simbody.html">SolidBodyPartForSimbody</a>() {};</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;        Real solid_body_density_;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> TagBodyPart() <span class="keyword">override</span>;</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;    };</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;}</div><div class="ttc" id="namespace_s_p_h_html_ac592bbe202be73decfcbfe8201484ffa"><div class="ttname"><a href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SPH::SplitCellLists</a></div><div class="ttdeci">StdVec&lt; ConcurrentCellLists &gt; SplitCellLists</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:51</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_adcea67d3103c632fd96fbea014b69cbf"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#adcea67d3103c632fd96fbea014b69cbf">SPH::SPHBody::kernel_</a></div><div class="ttdeci">Kernel * kernel_</div><div class="ttdef"><b>Definition:</b> base_body.h:96</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a475cbb5268106b74e76d71fe5f41a28c"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a475cbb5268106b74e76d71fe5f41a28c">SPH::SPHBody::smoothing_length_</a></div><div class="ttdeci">Real smoothing_length_</div><div class="ttdef"><b>Definition:</b> base_body.h:82</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_particles_html"><div class="ttname"><a href="class_s_p_h_1_1_base_particles.html">SPH::BaseParticles</a></div><div class="ttdoc">Particles with essential (geometric and kinematic) data. There are three types of particles...</div><div class="ttdef"><b>Definition:</b> base_particles.h:87</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_ac17b16899b86299f2437d2e38a9ba25e"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#ac17b16899b86299f2437d2e38a9ba25e">SPH::SPHBody::getBodyShape</a></div><div class="ttdeci">ComplexShape &amp; getBodyShape()</div><div class="ttdef"><b>Definition:</b> base_body.h:134</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_mesh_cell_linked_list_html"><div class="ttname"><a href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">SPH::BaseMeshCellLinkedList</a></div><div class="ttdoc">Abstract class for mesh cell linked list. </div><div class="ttdef"><b>Definition:</b> mesh_cell_linked_list.h:44</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_part_by_cell_html"><div class="ttname"><a href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a></div><div class="ttdoc">An auxillary class for SPHBody to indicate a part of the body fixed in space. </div><div class="ttdef"><b>Definition:</b> base_body.h:316</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_surface_html"><div class="ttname"><a href="class_s_p_h_1_1_body_surface.html">SPH::BodySurface</a></div><div class="ttdoc">A auxillary class for Body to indicate the surface particles from background mesh. </div><div class="ttdef"><b>Definition:</b> base_body.h:284</div></div>
<div class="ttc" id="namespace_s_p_h_html_abae56fd7f25f13487c7943ce4681d0ce"><div class="ttname"><a href="namespace_s_p_h.html#abae56fd7f25f13487c7943ce4681d0ce">SPH::IndexVector</a></div><div class="ttdeci">StdVec&lt; size_t &gt; IndexVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:30</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_part_by_particle_html"><div class="ttname"><a href="class_s_p_h_1_1_body_part_by_particle.html">SPH::BodyPartByParticle</a></div><div class="ttdoc">An auxillary class for SPHBody to indicate a part of the body moving together with particles...</div><div class="ttdef"><b>Definition:</b> base_body.h:263</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a0a625a4fc0b800a2211ccc3e5f239274"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a0a625a4fc0b800a2211ccc3e5f239274">SPH::SPHBody::refinement_level_</a></div><div class="ttdeci">int refinement_level_</div><div class="ttdef"><b>Definition:</b> base_body.h:95</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a6a52151b399284b6657585619d71db0d"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a6a52151b399284b6657585619d71db0d">SPH::SPHBody::newly_updated_</a></div><div class="ttdeci">bool newly_updated_</div><div class="ttdef"><b>Definition:</b> base_body.h:78</div></div>
<div class="ttc" id="neighbor__relation_8h_html"><div class="ttname"><a href="neighbor__relation_8h.html">neighbor_relation.h</a></div><div class="ttdoc">There are the classes for a neighboring particle. It saves the information for carring out pair inter...</div></div>
<div class="ttc" id="class_s_p_h_1_1_complex_shape_html"><div class="ttname"><a href="class_s_p_h_1_1_complex_shape.html">SPH::ComplexShape</a></div><div class="ttdoc">gives the final geomtrical definition of the SPHBody </div><div class="ttdef"><b>Definition:</b> geometry.h:67</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a1693824e4663ab1d42d2c89f167de7f1"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a1693824e4663ab1d42d2c89f167de7f1">SPH::SPHBody::particle_spacing_</a></div><div class="ttdeci">Real particle_spacing_</div><div class="ttdef"><b>Definition:</b> base_body.h:97</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a90b19fb964661d302ed08652dfb9d4c2"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a90b19fb964661d302ed08652dfb9d4c2">SPH::SPHBody::body_name_</a></div><div class="ttdeci">string body_name_</div><div class="ttdef"><b>Definition:</b> base_body.h:77</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_part_html"><div class="ttname"><a href="class_s_p_h_1_1_body_part.html">SPH::BodyPart</a></div><div class="ttdoc">An auxillary class for SPHBody to indicate a part of the body. </div><div class="ttdef"><b>Definition:</b> base_body.h:231</div></div>
<div class="ttc" id="class_real_html"><div class="ttname"><a href="class_real.html">Real</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_kernel_html"><div class="ttname"><a href="class_s_p_h_1_1_kernel.html">SPH::Kernel</a></div><div class="ttdoc">Abstract base class of a general SPH kernel function which is a smoothed Dirac delta function...</div><div class="ttdef"><b>Definition:</b> base_kernel.h:55</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_part_by_particle_html_a2da1d85be2fb9a62d595d1293f2fa74f"><div class="ttname"><a href="class_s_p_h_1_1_body_part_by_particle.html#a2da1d85be2fb9a62d595d1293f2fa74f">SPH::BodyPartByParticle::body_part_particles_</a></div><div class="ttdeci">IndexVector body_part_particles_</div><div class="ttdef"><b>Definition:</b> base_body.h:267</div></div>
<div class="ttc" id="class_s_p_h_1_1_solid_body_part_for_simbody_html"><div class="ttname"><a href="class_s_p_h_1_1_solid_body_part_for_simbody.html">SPH::SolidBodyPartForSimbody</a></div><div class="ttdoc">A SolidBodyPart for coupling with Simbody. The mass, origin, and unit inertial matrix are computed...</div><div class="ttdef"><b>Definition:</b> base_body.h:351</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a07225063a8732945f536841f71253019"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a07225063a8732945f536841f71253019">SPH::SPHBody::particle_generator_op_</a></div><div class="ttdeci">ParticlesGeneratorOps particle_generator_op_</div><div class="ttdef"><b>Definition:</b> base_body.h:101</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_ae8db0d4887412e2336930f4f63d7a7e2"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#ae8db0d4887412e2336930f4f63d7a7e2">SPH::SPHBody::body_input_points_volumes_</a></div><div class="ttdeci">PositionsAndVolumes body_input_points_volumes_</div><div class="ttdef"><b>Definition:</b> base_body.h:102</div></div>
<div class="ttc" id="sph__data__conainers_8h_html"><div class="ttname"><a href="sph__data__conainers_8h.html">sph_data_conainers.h</a></div><div class="ttdoc">Set up of basic data structure. </div></div>
<div class="ttc" id="class_s_p_h_1_1_base_level_set_html"><div class="ttname"><a href="class_s_p_h_1_1_base_level_set.html">SPH::BaseLevelSet</a></div><div class="ttdoc">A abstract describes a mesh with level set data packages. </div><div class="ttdef"><b>Definition:</b> base_mesh.h:493</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_part_html_ae2a3bda407f1882ee8158de98f1b203a"><div class="ttname"><a href="class_s_p_h_1_1_body_part.html#ae2a3bda407f1882ee8158de98f1b203a">SPH::BodyPart::BodyPartBounds</a></div><div class="ttdeci">void BodyPartBounds(Vecd &amp;lower_bound, Vecd &amp;upper_bound)</div><div class="ttdoc">Find the lower and upper bounds of the body part. </div><div class="ttdef"><b>Definition:</b> base_body.h:246</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a306c400ad9b4039df27758dd1560a55b"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a306c400ad9b4039df27758dd1560a55b">SPH::SPHBody::levelset_mesh_</a></div><div class="ttdeci">BaseLevelSet * levelset_mesh_</div><div class="ttdef"><b>Definition:</b> base_body.h:103</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_add47d67ae81be7a97ece4bcb2fd573a1"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#add47d67ae81be7a97ece4bcb2fd573a1">SPH::SPHBody::body_relations_</a></div><div class="ttdeci">StdVec&lt; SPHBodyBaseRelation * &gt; body_relations_</div><div class="ttdef"><b>Definition:</b> base_body.h:113</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_aa4dcce0a73ba89a2fd9a95ca68216ca6"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#aa4dcce0a73ba89a2fd9a95ca68216ca6">SPH::SPHBody::body_shape_</a></div><div class="ttdeci">ComplexShape body_shape_</div><div class="ttdef"><b>Definition:</b> base_body.h:80</div></div>
<div class="ttc" id="namespace_s_p_h_html_aae0891ff7d5c75f9bf4333e5e0e0fe98"><div class="ttname"><a href="namespace_s_p_h.html#aae0891ff7d5c75f9bf4333e5e0e0fe98">SPH::PositionsAndVolumes</a></div><div class="ttdeci">vector&lt; pair&lt; Point, Real &gt; &gt; PositionsAndVolumes</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:53</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_aab6ade081b3bf9a260dda2d980b5a98f"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#aab6ade081b3bf9a260dda2d980b5a98f">SPH::SPHBody::number_of_particles_</a></div><div class="ttdeci">size_t number_of_particles_</div><div class="ttdef"><b>Definition:</b> base_body.h:98</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_surface_layer_html"><div class="ttname"><a href="class_s_p_h_1_1_body_surface_layer.html">SPH::BodySurfaceLayer</a></div><div class="ttdoc">A auxillary class for Body to indicate the particles within the inner layers. </div><div class="ttdef"><b>Definition:</b> base_body.h:299</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_adda7b1f83a13057cc2526315ba7b87cb"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#adda7b1f83a13057cc2526315ba7b87cb">SPH::SPHBody::split_cell_lists_</a></div><div class="ttdeci">SplitCellLists split_cell_lists_</div><div class="ttdoc">particle by cells lists is for parallel splitting algorithm. All particles in each cell are collected...</div><div class="ttdef"><b>Definition:</b> base_body.h:110</div></div>
<div class="ttc" id="class_s_p_h_1_1_fictitious_body_html"><div class="ttname"><a href="class_s_p_h_1_1_fictitious_body.html">SPH::FictitiousBody</a></div><div class="ttdoc">Derived class from SPHBody. Without inner configuration or inner interaction. </div><div class="ttdef"><b>Definition:</b> base_body.h:209</div></div>
<div class="ttc" id="class_s_p_h_1_1_body_part_by_cell_html_a4d05ac7eea923c9f08f7a6ebdfcdc1f8"><div class="ttname"><a href="class_s_p_h_1_1_body_part_by_cell.html#a4d05ac7eea923c9f08f7a6ebdfcdc1f8">SPH::BodyPartByCell::body_part_cells_</a></div><div class="ttdeci">CellLists body_part_cells_</div><div class="ttdef"><b>Definition:</b> base_body.h:320</div></div>
<div class="ttc" id="namespace_s_p_h_html_a54f9b375e654fcf04192f5a123495808"><div class="ttname"><a href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">SPH::CellLists</a></div><div class="ttdeci">StdLargeVec&lt; CellList * &gt; CellLists</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:47</div></div>
<div class="ttc" id="class_vecd_html"><div class="ttname"><a href="class_vecd.html">Vecd</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a981e4ab5e8b6dc54813fbf8f38bb2ff3"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a981e4ab5e8b6dc54813fbf8f38bb2ff3">SPH::SPHBody::prescribed_body_bounds_</a></div><div class="ttdeci">bool prescribed_body_bounds_</div><div class="ttdef"><b>Definition:</b> base_body.h:86</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_adc8f9cc70f735cfe72e3c5571fdd2201"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#adc8f9cc70f735cfe72e3c5571fdd2201">SPH::SPHBody::base_particles_</a></div><div class="ttdeci">BaseParticles * base_particles_</div><div class="ttdef"><b>Definition:</b> base_body.h:99</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html">SPH::SPHBody</a></div><div class="ttdoc">SPHBody is a base body with basic data and functions. Its derived class can be a real fluid body...</div><div class="ttdef"><b>Definition:</b> base_body.h:73</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_a2eaf64eec0d93e8af4ba68fb8a4f3393"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#a2eaf64eec0d93e8af4ba68fb8a4f3393">SPH::SPHBody::base_mesh_cell_linked_list_</a></div><div class="ttdeci">BaseMeshCellLinkedList * base_mesh_cell_linked_list_</div><div class="ttdef"><b>Definition:</b> base_body.h:100</div></div>
<div class="ttc" id="class_s_p_h_1_1_near_body_surface_html"><div class="ttname"><a href="class_s_p_h_1_1_near_body_surface.html">SPH::NearBodySurface</a></div><div class="ttdoc">An auxillary class for SPHBody to indicate region close the body surface. </div><div class="ttdef"><b>Definition:</b> base_body.h:335</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_acafe8d506e0bfd7c74143cd9ed1401b7"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#acafe8d506e0bfd7c74143cd9ed1401b7">SPH::SPHBody::sph_system_</a></div><div class="ttdeci">SPHSystem &amp; sph_system_</div><div class="ttdef"><b>Definition:</b> base_body.h:76</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_system_html"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_system.html">SPH::SPHSystem</a></div><div class="ttdoc">The SPH system managing objects in the system level. </div><div class="ttdef"><b>Definition:</b> sph_system.h:28</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html_acc4e254e90d072edb26e90007f806215"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html#acc4e254e90d072edb26e90007f806215">SPH::SPHBody::body_lower_bound_</a></div><div class="ttdeci">Vecd body_lower_bound_</div><div class="ttdef"><b>Definition:</b> base_body.h:84</div></div>
<div class="ttc" id="class_s_p_h_1_1_real_body_html"><div class="ttname"><a href="class_s_p_h_1_1_real_body.html">SPH::RealBody</a></div><div class="ttdoc">Derived class from SPHBody. With inner particle configuration or inner interactions. </div><div class="ttdef"><b>Definition:</b> base_body.h:186</div></div>
<div class="ttc" id="class_particles_generator_ops_html"><div class="ttname"><a href="class_particles_generator_ops.html">ParticlesGeneratorOps</a></div><div class="ttdoc">Serval manners are provied for particles generator. </div><div class="ttdef"><b>Definition:</b> base_body.h:56</div></div>
<div class="ttc" id="namespace_s_p_h_html"><div class="ttname"><a href="namespace_s_p_h.html">SPH</a></div><div class="ttdef"><b>Definition:</b> base_body_supplementary.cpp:11</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
